{% extends "layouts/base.html" %}

{% block title %} Forms General {% endblock %}

<!-- Element injected in the BODY element -->
{% block body_class %} sidebar-mini {% endblock body_class %}

<!-- Specific Page CSS goes HERE  -->
{% block stylesheets %}

  <!-- Google Font: Source Sans Pro -->
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="/static/assets/plugins/fontawesome-free/css/all.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="/static/assets/css/adminlte.min.css">

{% endblock stylesheets %}

{% block content %}

  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
<!--    <section class="content-header">-->
<!--      <div class="container-fluid">-->
<!--        <div class="row mb-2">-->
<!--          <div class="col-sm-6">-->
<!--            <h3>报表上传</h3>-->
<!--          </div>-->
<!--          <div class="col-sm-6">-->
<!--            <ol class="breadcrumb float-sm-right">-->
<!--              <li class="breadcrumb-item"><a href="#">Home</a></li>-->
<!--              <li class="breadcrumb-item active">General Form</li>-->
<!--            </ol>-->
<!--          </div>-->
<!--        </div>-->
<!--      </div>&lt;!&ndash; /.container-fluid &ndash;&gt;-->
<!--    </section>-->

    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <div class="row">
          <!-- left column -->
          <div class="col-md-6">
            <!-- general form elements -->
            <div class="card card-primary">
              <div class="card-header">
                <h3 class="card-title">报表上传</h3>
              </div>
              <!-- /.card-header -->
              <!-- form start -->
              <form action="cctc-file-upload-detail.html" method="post" enctype="multipart/form-data">
                {% csrf_token %}
                <div class="card-body">
<!--                  <div class="form-group">-->
<!--                    <label for="exampleInputEmail1">Email address</label>-->
<!--                    <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email">-->
<!--                  </div>-->
<!--                  <div class="form-group">-->
<!--                    <label for="exampleInputPassword1">Password</label>-->
<!--                    <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">-->
<!--                  </div>-->
                  <div class="form-group">
                    <div class="input-group">
                      <div class="custom-file">
                        <input type="file"
                               class="custom-file-input"
                               name="excel_file"
                             required="required"
                               id="exampleInputFile">
                        <label class="custom-file-label" for="exampleInputFile">选择文件</label>
                      </div>
<!--                      <div class="input-group-append">-->
<!--                        <span class="input-group-text">Upload</span>-->
<!--                      </div>-->
                    </div>
                  </div>
<!--                  <div class="form-check">-->
<!--                    <input type="checkbox" class="form-check-input" id="exampleCheck1">-->
<!--                    <label class="form-check-label" for="exampleCheck1">Check me out</label>-->
<!--                  </div>-->
                </div>
                <!-- /.card-body -->

                <div class="card-footer">
                  <button type="submit" class="btn btn-primary">上传</button>
                </div>
              </form>
            </div>
            <!-- /.card -->

          </div>
          <!--/.col (left) -->
        </div>
        <!-- /.row -->
      </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
  </div>

{% endblock content %}

<!-- Specific Page JS goes HERE  -->
{% block javascripts %}

  <!-- jQuery -->
  <script src="/static/assets/plugins/jquery/jquery.min.js"></script>
  <!-- Bootstrap 4 -->
  <script src="/static/assets/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
  <!-- bs-custom-file-input -->
  <script src="/static/assets/plugins/bs-custom-file-input/bs-custom-file-input.min.js"></script>
  <!-- AdminLTE App -->
  <script src="/static/assets/js/adminlte.min.js"></script>
  <!-- AdminLTE for demo purposes -->
  <script src="/static/assets/js/demo.js"></script>
  <script>
  $(function () {
    bsCustomFileInput.init();
  });
  </script>

{% endblock javascripts %}
